﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

using Rison.Web.Common;
using Rison.BusinessFacade.Helper;
using Rison.BusinessFacade.Common;
using Rison.BusinessFacade.Entity.NRBZ;
using Rison.BusinessFacade.Facade.NRBZ;
using Rison.DataAccess.Common;

namespace Rison.Web.NRBZ
{
    public partial class Zwzgl : XWFBPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                LoadInformation();
            }
        }

        protected void btnSave_Click(object sender, EventArgs e)
        {
            long returnValue = SaveInformation();

            if (returnValue >= 0)
            {
                Response.Redirect("Zwzgl.aspx?DepartID=" + departid + "&type=2");
            }
            else
                this.Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "<script>alert('保存错误');</script>");

        }
      

        protected void btnPev_Click(object sender, EventArgs e)
        {
            long returnValue = SaveInformation();
            if (returnValue >= 0)
            {
                Response.Redirect("Ggfw.aspx?DepartID=" + departid + "&type=2");
            }
            else
                this.Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "<script>alert('保存错误');</script>");
        }


        public override void LoadInformation()
        {

        }

        public override long SaveInformation()
        {
            return 0;
        }
    }
}

